草庐IT

helm cm-push

全部标签

django - 由于 "Build stream timed out",无法 git-push 到 heroku

我在heroku上有一个Django应用程序,我之前提交并推送了很多次,但在我最后一次尝试推送时我收到了这个错误(而且我一直收到):$gitpushherokumasterCountingobjects:16,done.Deltacompressionusingupto4threads.Compressingobjects:100%(9/9),done.Writingobjects:100%(9/9),24.22KiB|0bytes/s,done.Total9(delta7),reused0(delta0)remote:Compressingsourcefiles...done.rem

Git Bash : remote error: You can't push to git://github. com/

请帮帮我,我该如何解决这个错误?$gitpushorigindevfatal:remoteerror:Youcan'tpushtogit://github.com//name_of_repo.gitUsehttps:://github.com//name_of_repo.git 最佳答案 使用HTTPS或SSHURL。而不是git://github.com/user/repo.git使用其中之一:https://github.com/user/repo.gitgit@github.com:user/repo.git您可以像这样在您的

git - 为什么 "git push"被拒绝? ("git pull"没有帮助)

我当前的分支是my_branch。尝试将更改推送到我得到的远程仓库:$gitpushCountingobjects:544,done.Deltacompressionusingupto4threads.Compressingobjects:100%(465/465),done.Writingobjects:100%(533/533),2.04MiB|1.16MiB/s,done.Total533(delta407),reused0(delta0)Togit@......git4ed90a6..52673f3my_branch->my_branch![rejected]master->m

git - 无论如何要撤消 git push -f 吗?

如果我使用push-f重叠远程存储库上的最后一次提交,即A,其他人在我推送之前已经pull了A。无论如何要撤消此操作以免给他人带来麻烦?对push-f有用吗?对“假装”没有任何影响的原创?或者git如何决定本地仓库是否与远程跟踪仓库不同? 最佳答案 有几种方法可以在推送之前找出原始HEAD(ORIG_HEAD可能不是其中之一):终端回滚如果您足够幸运地仍然打开终端,那么在进行推送时会有一些输出,如下所示:...Touser@host:repo.git+abcdef0...1234567HEAD->branchname(forcedu

git push origin master :refs/heads/master what does this do

当我在我的gitolite存储库上创建一个新的存储库时,我总是必须输入以下命令才能开始将代码推送到服务器。gitpushoriginmaster:refs/heads/master它有什么作用?我的猜测是,这与不确定的头部引用有关。谁能给我解释一下? 最佳答案 这个命令分为三个部分:gitpush这会调用推送命令origin这会命名您要推送到的Remote。这是存储在.git/config中的命名Remote之一(您可以使用gitremote列出这些Remote)、URL或token.这意味着当前存储库。master:refs/he

git - 在 git push 上硬重置

我在要推送的远程仓库上有一个接收后Hook脚本,它执行gitreset--hard像这样:$gitpushopalCountingobjects:74,done.Deltacompressionusingupto2threads.Compressingobjects:100%(45/45),done.Writingobjects:100%(53/53),16.68KiB,done.Total53(delta20),reused0(delta0)remote:warning:updatingthecurrentbranchremote:HEADisnowat88f1e35tweaklav

git - 我无法 push git?

gitpushoriginmaster显示错误failedtopushsomerefsto'git@github.com:xyz/abc.git'Topreventyoufromlosinghistory,non-fast-forwardupdateswererejectedMergetheremotechangesbeforepushingagain.Seethe'Noteaboutfast-forwards'sectionof'gitpush--help'fordetails.这是什么?如何恢复? 最佳答案 参见"pushing

混帐 1.8 : it push error: dst ref refs/heads/master receives from more than one src

git1.8的另一个问题:$gitpusherror:dstrefrefs/heads/masterreceivesfrommorethanonesrc.error:failedtopushsomerefsto'gitosis@xxx.xx:xxx.git'建议?它在升级到1.8之前一直有效。$gitremote-vorigingitosis@xxx.xx:xxx.git(fetch)origingitosis@xxx.xx:xxx.git(push)谷歌搜索后我首先尝试了这个:$gitpushorigin:refs/heads/refs/heads/masterremote:warn

git push 对于一个分支来说非常慢

我们有一个非常大的git存储库(ios应用程序资源)。我明白git在使用它时会变慢,但如果我创建一个新分支并编辑几个文件(不是二进制文件)并推送,它会花费很长时间。感觉整个repo都在push了。我的印象是git只会发送差异,这是错误的吗?(我知道git存储整个文件的压缩版本,我的意思是我的分支和我分支的地方之间的差异)。如果我运行gitdiff--stat--cachedorigin/foo然后我会看到一个简短的文件列表,看起来像我所期望的,例如34​​个文件已更改,1117个插入(+),72个删除(-)。但是当我push它到达Writingobjects:21%(2317/1080

git - 为什么我不能用 git push origin :branchname? 删除远程 git 分支

当我尝试使用gitpushorigin:branchname推送到远程git分支以将其删除时,我收到以下错误消息:error:unabletopushtounqualifieddestination:remotes/origin/branchnameThedestinationrefspecneithermatchesanexistingrefontheremotenorbeginswithrefs/,andweareunabletoguessaprefixbasedonthesourceref.但是当我输入gitbranch-a时,我仍然在remotes/origin/branchn